package com.zhaogang.entity;

import java.util.Date;

public class SaleGoods {

	private Integer id;

    private String saleAccountId;

    private String goodsId;

    private Double price;

    private Date saleTime;

    private Long realSum;

    private Long saleSum;

    private String valid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSaleAccountId() {
        return saleAccountId;
    }

    public void setSaleAccountId(String saleAccountId) {
        this.saleAccountId = saleAccountId == null ? null : saleAccountId.trim();
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId == null ? null : goodsId.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Date getSaleTime() {
        return saleTime;
    }

    public void setSaleTime(Date saleTime) {
        this.saleTime = saleTime;
    }

    public Long getRealSum() {
        return realSum;
    }

    public void setRealSum(Long realSum) {
        this.realSum = realSum;
    }

    public Long getSaleSum() {
        return saleSum;
    }

    public void setSaleSum(Long saleSum) {
        this.saleSum = saleSum;
    }

    public String getValid() {
        return valid;
    }

    public void setValid(String valid) {
        this.valid = valid == null ? null : valid.trim();
    }
    
    @Override
	public String toString() {
		return "SaleGoods [id=" + id + ", saleAccountId=" + saleAccountId + ", goodsId=" + goodsId + ", price=" + price
				+ ", saleTime=" + saleTime + ", realSum=" + realSum + ", saleSum=" + saleSum + ", valid=" + valid + "]";
	}
}